<?php $this->pageHeader('Bekreft vakt'); ?>
<?php echo $this->flashMessage()->renderMessages(); ?>
<?php if($this->canListShifts || $this->canViewshift) : ?>
<p>
    <?php if($this->canListShifts) : ?>
    <a href="<?php echo $this->url(array('module' => 'core', 'controller' => 'shift', 'action' => 'index'),null,true);?>" alt="Vis mine vakter" title="Vis mine vakter" class="button">
        <img  src="<?php echo $this->imageLink('images/icons/shift.png'); ?>"/>
            Vis mine vakter
    </a>
<?php
    endif;
    if($this->canViewShift) :
?>
    <a href="<?php echo $this->url(array('module' => 'core', 'controller' => 'shift', 'action' => 'view', 'id' => $this->shiftId),null,true);?>" alt="Vis vakt" title="Vis vakt" class="button">
        <img src="<?php echo $this->imageLink('images/icons/shift.png'); ?>"/>
            Vis vakt
    </a>
    <?php endif; ?>
</p>
<?php else : ?>
Du må <a href="<?php echo $this->url(array('module' => 'core', 'controller' => 'user', 'action' => 'login'), null, true); ?>" alt="Logg inn" title="Logg inn">logge inn</a> for å se vakter du er satt opp på.
<?php endif; ?>
<br />
<br />
